package com.jweb.framework.security.crypto.common;
/**
 * 修改人： Thomas
 * 修改内容：新增 
 * 类说明：
 */
public enum ECipherMode {
	
	ENCRYPT("ENCRYPT" , 0) ,
	DECRYPT("DECRYPT" , 1) ,
	
	;
	
	private String name ;
	
	private int ordinal ;
	
	private ECipherMode(String name , int ordinal){
		this.name = name ;
		this.ordinal = ordinal ;
	}
	
	public String toString() {
		return name;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getOrdinal() {
		return ordinal;
	}

	public void setOrdinal(int ordinal) {
		this.ordinal = ordinal;
	}
	
}
